// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.view.ViewGroup;
import android.view.animation.DecelerateInterpolator;
import com.nnee.p_pr.p_a.cls_m;
import com.nnee.p_pr.p_activity.p_view.cls_FlingGallery;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            ArticleGalleryActivity

final class cls_a
    implements Runnable
{

    public cls_a(cls_ArticleGalleryActivity articlegalleryactivity, int i)
    {
    	super();
        a = articlegalleryactivity;
        
        b = i;
    }

    public void run()
    {
        float f = (float)cls_ArticleGalleryActivity.w(a).getWidth() / 2F;
        float f1 = (float)cls_ArticleGalleryActivity.w(a).getHeight() / 2F;
        cls_m m1;
        if(b > -1)
        {
            if(cls_ArticleGalleryActivity.d(a) != null)
            {
                cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.r, Integer.valueOf(8));
                cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.s, Integer.valueOf(0));
                cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.t, null);
            }
            cls_ArticleGalleryActivity.e(a, true);
        } else
        {
            if(cls_ArticleGalleryActivity.d(a) != null)
            {
                cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.r, Integer.valueOf(0));
                cls_ArticleGalleryActivity.d(a).a(-1, cls_ArticleGalleryActivity.s, Integer.valueOf(8));
            }
            cls_ArticleGalleryActivity.e(a, false);
        }
        m1 = new cls_m(-90F, 0F, f, f1, 0F, false);
        m1.setDuration(500L);
        m1.setFillAfter(true);
        m1.setInterpolator(new DecelerateInterpolator());
        cls_ArticleGalleryActivity.w(a).startAnimation(m1);
    }

    final cls_ArticleGalleryActivity a;
    private final int b;
}
